﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Palsta.Core.Manifest
{
    class ViewDesc
    {
        #region Members

        private String name;
        private String caption;
        private Boolean showMenuItem;
        private String transform;

        #endregion

        #region Constructors
        public ViewDesc()
            : this("", "", false)
        {
            ;
        }

        public ViewDesc(String name, String caption, Boolean showMenuItem)
        {
            this.name = name;
            this.caption = caption;
            this.showMenuItem = showMenuItem;
        }

        #endregion

        #region Accessors

        public virtual String Name
        {
            get
            {
                return this.name;
            }
            set
            {
                this.name = value;
            }
        }
        public virtual String Caption
        {
            get
            {
                return this.caption;
            }
            set
            {
                this.caption = value;
            }
        }
        public virtual Boolean ShowMenuItem
        {
            get
            {
                return this.showMenuItem;
            }
            set
            {
                this.showMenuItem = value;
            }
        }
        public virtual String Transform
        {
            get
            {
                return this.transform;
            }
            set
            {
                this.transform = value;
            }
        }

        #endregion

        #region Methods

        #endregion

        #region Override Operators

        #endregion

        #region Static Methods

        #endregion
    }
}
